package com.rtx.edi.platform.tableconfig.bean;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.edi.model.base.BaseEntity;
import com.rtx.edi.platform.rule.bean.UpdRule;

import io.swagger.annotations.ApiModel;
import lombok.Data;

@TableName("edi_table_config")
@ApiModel(value = "edi_table_config", description = "表配置信息")
@Data
public class EdiTableConfig extends BaseEntity{

    private Long apiid;//apiid
    private int parentnode;//层级
	private String name;//表名称
	private String requestrootnode;//对应报文根节点
	private String updaterule;//更新规则
	@TableField(exist = false)
	private String skipupdate;//true为跳过生成更新语句
	private String activerequest;//是否作为作为报文节点
	@TableField(exist = false)
	private List<EdiColumnValueConfig> columnvalue;//字段值映射
	
	
	@TableField(exist = false)
	private UpdRule updRule;//更新规则 缓存对象
}
